home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / ftn / rename.z / rename
Encoding:
Text File  |  2002-10-03  |  1.2 KB  |  34 lines

  1. RENAME(3F)                                            Last changed: 10-2-98
  2.  
  3.  
  4. NNAAMMEE
  5.      rreennaammee - rename a file
  6.  
  7. SSYYNNOOPPSSIISS
  8.      iinntteeggeerr ffuunnccttiioonn rreennaammee ((_f_r_o_m,, _t_o))
  9.      cchhaarraacctteerr**((**)) _f_r_o_m,, _t_o
  10.  
  11. IIMMPPLLEEMMEENNTTAATTIIOONN
  12.      IRIX systems
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.      _f_r_o_m must be the pathname of an existing file.  _t_o will become the new
  16.      pathname for the file.  If _t_o exists, then both _f_r_o_m and _t_o must be
  17.      the same type of file, and must reside on the same filesystem.  If _t_o
  18.      exists, it will be removed first.
  19.  
  20. RREETTUURRNN VVAALLUUEESS
  21.      The returned value will be 0 if successful; a system error code
  22.      otherwise.
  23.  
  24. FFIILLEESS
  25.      //uussrr//uuccbb//lliibb//lliibbUU7777..aa //uussrr//lliibb//lliibbUU7777..aa
  26.  
  27. BBUUGGSS
  28.      Pathnames can be no longer than MMAAXXPPAATTHHLLEENN as defined in ssyyss//ppaarraamm..hh.
  29.  
  30. SSEEEE AALLSSOO
  31.      rreennaammee(2), ppeerrrroorr(3F)
  32.  
  33.      This man page is available only online.
  34.